


<div style="margin:0 auto; width:1200px;"><div class="row">




    <div class="col-sm-2">
    <include file="Public:left" />
    </div>
    
    
    <div class="col-sm-10">
        <style>
.list-group {
	padding: 0 5px;
}
.list-group li {
	line-height: 1.75em;
	border-color:#dff0d8;
}
.list-group li a {
	display: block;
}
.list-group li a .badge {
	float: right;
}
.list-group-item:first-child {
	
}
.media {
	padding: 10px;
	margin-top: 0px;
	background: #fff;
	margin-bottom: 4px;
}
.media p {
	margin-bottom: 0px;
}
.list-group-item:last-child {
	
}
.badge {
	background-color: rgb(243, 146, 146);
}



.panel-body{padding:0;}


.nav-glyphicons-list {
	display: table;
	width: 100%;
	padding-left: 0;
	list-style: none;
}
.nav-glyphicons li {
	display: table-cell;
	text-align: center;
    *display: inline-block;
    +float:left;
    
}
.nav-glyphicons li ul li {
	display: block;
}
.nav-glyphicons li a {
	display: inline-block;
	width: 100%;
    _width:auto;
	padding-top:0.2em;
}
.nav-glyphicons .glyphicon-class {
	display: block;
	text-align: center;
	word-wrap: break-word
}
.nav-glyphicons .dropdown-menu {
	border-radius: 0;
	padding-top: 0;
	padding-bottom: 0;
}
.dropdown-menu{min-width:inherit;}
.Mbutton .fa,.Mbutton .glyphicon{font-size:20px; width:40px; margin-bottom:5px; height:40px; border-radius:30px; line-height:40px; text-align:center;}
.Mbutton{padding:5px 0; background:#fff; margin-bottom:3px;}
.Bbutton{padding:5px 0; background:#fff;}

</style>
<div class="media">
  <div class="media-left media-middle"> <a href="#"> <img class="media-object" src="<if condition="$_SESSION['memberInfo']['img_url'] neq ''">{$_SESSION['memberInfo']['img_url']}<else/>/Public/timg.jpg</if>" width="60" style="border-radius:50px;" alt=""> </a> </div>
  <div class="media-body">
    <h4 class="media-heading">欢迎您：{$_SESSION['memberInfo']['nickname']}</h4>
    <p style="font-family:'微软雅黑';">ID:{$_SESSION['memberInfo']['id']}</p>
    <if condition="$parent_info">
      <p>您来自<span style="color:#f00;"><empty name="parent_info['nickname']">{$parent_info['username']}</empty>{$parent_info.nickname}</span>的推荐<neq name="LevelName" value="">【级别：{$LevelName}】</neq></p>
      <else/>
      <p>您是创始人<neq name="LevelName" value="">【级别：{$LevelName}】</neq></p>
    </if>
  </div>
</div>
 
 
 
<gt name="userInfo['level']" value="0">
<div class="panel panel-success">
  <!--<div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>营业统计</div>-->
  <div class="panel-body">
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$zper eq 0 ">0<else />{$zper}</if></span><span class="glyphicon-class">总营业额</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$orderinfo eq 0 ">0<else />{$orderinfo}</if></span><span class="glyphicon-class">本月订单</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$commission eq 0 ">0<else />{$commission}</if></span><span class="glyphicon-class">本月佣金</span></a></li>
      </ul>
    </div>
  </div>
</div>

<else/>
<div class="alert alert-warning" role="alert">
      <strong>温馨提示：</strong> 点击“去购物”升级成为VIP
    </div>

</gt>
 






<ul class="list-group" style="padding:0;">
  <li class="list-group-item"><a href="<gt name="userInfo['level']" value="0">{:U('userlist')}<else/>javascript:void(0);</gt>" <eq name="userInfo['level']" value="0">onClick="alert('您当前等级不能查看“我的朋友”');"</eq>><i class="glyphicon glyphicon-user"></i> 我的朋友<span class="badge" id="usercount"><img width="10" src="__PUBLIC__/loading.gif"></span></a></li>
  

  
  <!--<li class="list-group-item"><a href="{:U('Member_account_log/index')}"><i class="glyphicon glyphicon-yen"></i> 我的账户<span class="badge">{$userinfo.money}</span></a></li>-->
  <li class="list-group-item"><a href="{:U('Member_account_log/detailmes')}"><i class="glyphicon glyphicon-ok-circle"></i> 资金提现
  <gt name="dnum" value="0">
  <span class="badge">正在提现{$dnum}</span>
  </gt>
  </a></li>
  <li class="list-group-item"><a href="{:U('Member_account_log/divide')}"><i class="glyphicon glyphicon-share"></i> 分成明细</a></li>
  
  
  
  
  
  
  <!--<li class="list-group-item"><a href="{:U('Mission/index')}"><i class="glyphicon glyphicon-wrench"></i> 我的工单</a></li>
  <li class="list-group-item"><a href="{:U('Public/logout')}"><i class="glyphicon glyphicon-log-out"></i> 退出登录</a></li>-->
</ul>



<notempty name="integrals">
<div class="panel panel-success" style="margin:0 5px 5px 5px;">
  <!--<div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>营业统计</div>-->
  <div class="panel-body">
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <volist name="integrals" id="vo">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$vo.number eq 0 ">0<else />{$vo.number}</if></span><span class="glyphicon-class">{$vo.remark}</span></a></li>
        </volist>
      </ul>
    </div>
  </div>
</div>
</notempty>






<script>
$.holdReady(false);
    $(document).ready(function(e) {
		
		$('#createqrcode').click(function(e) {
			$('#createqrcode_').html('<img width="10" src="__PUBLIC__/loading.gif">正在生成，请稍等……');
			$('#createqrcode_').show(200);
            $.post("{:U('createAffQrcode')}", {}, function(data){
				<gt name="userInfo['level']" value="0">
				$('#createqrcode_').html('已经发送到微信，请查收！');
				<else/>
				$('#createqrcode_').html(data);
				</gt>
				
				setTimeout(function(){
					$('#createqrcode_').hide();
				},2000);
			},'html');
        });
		
        $.post('{:U('userCount')}',{},function(data){
			$('#usercount').html(data);
		},'html');
    });
</script> 
    </div>
   
</div>

</div>

